package com.mystore.user.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.mystore.ServerResponse;
import com.mystore.user.pojo.User;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author liutl
 * @since 2019-05-06
 */
public interface IUserService extends IService<User> {

    ServerResponse<User> login(String username, String password);

    ServerResponse<User> register(User user);
}
